package design.mode.effective_java.chapter2.item2;

import java.lang.reflect.Array;
import java.math.BigInteger;
import java.nio.file.Files;
import java.time.Instant;
import java.util.Collections;
import java.util.Date;
import java.util.EnumSet;
import java.util.Set;

/**
 * @author ZhongMingde on 2021/8/2
 * 静态工厂方法的常用名称
 */

public class StaticFactory {
    public static void main(String[] args) {
        // Date d= Date.from(intstant);
        // Set<Rank> faceCard = EnumSet.of("Jack","Queen","King");
        BigInteger prime = BigInteger.valueOf(Integer.MAX_VALUE);
        // StackWalker luke = StackWalker.getInstance(options);
        // Array.newInstance()
        // Files.getFileStore()
        // Files.newBufferedReader();
        // Collections.list()
    }
}
